'use strict'

const logger = require('npmlog')

logger.level = process.env.LOG_LEVEL ? process.env.LOG_LEVEL : 'info'
logger.addLevel('success', 2000, { fg: 'green', bold: true })
logger.heading = 'medlog'
module.exports = logger
